package Lab06.Extra2;

public class RhombusFactory implements IShapeFactory{
    public Shape makeShape(double a,double b){
        if (a <= 0 || b <= 0) {
            return null;
        }
        return new Rhombus(a,b);
    }
}
